package a02threadpool2;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86131
 * Date: 2024-04-26
 * Time: 19:21
 */
public class MyThreadPoolDemo2 {
    public static void main(String[] args) {
        //向Java虚拟机返回可用处理器的数目
        int count =  Runtime.getRuntime().availableProcessors();
        System.out.println(count);
    }
}
